import request from '@/utils/request';
// 统计基本信息
export function statinfoList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/stats',
        method: 'post',
        data
    });
}
// 统计趋势图
export function statchartList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/stats-chart',
        method: 'post',
        data
    });
}
// 统计详细数据
export function statdetailList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/stats-list',
        method: 'post',
        data
    });
}
// 统计详细数据导出
export function statexportList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/stats-list-export',
        method: 'post',
        data
    });
}

//lbs列表下载
export function downloadList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/download',
        method: 'post',
        data
    });
}
//lbs列表开始/结束
export function changeList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/change',
        method: 'post',
        data,
        noNeedLoading: true
    });
}

//lbs列表删除
export function delList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/del',
        method: 'post',
        data,
        noNeedLoading: true
    });
}
//lbs列表
export function funAllList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/list',
        method: 'post',
        data,
        noNeedLoading: true
    });
}
// 新建lbs
export function toCreateLbs(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/create',
        method: 'post',
        data
    });
}
// 编辑lbs

export function toEditLbs(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/edit',
        method: 'post',
        data
    });
}

// lbs-展示lbs
export function showLbsInfo(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/info',
        method: 'post',
        data
    });
}
// lbs-获取行政区域列表
export function getRegionList(data: any) {
    return request({
        url: '/scrm-api/console/customer/lbs/region',
        method: 'post',
        data
    });
}
